package com.eco.fanliapp.vo;

import com.eco.fanliapp.vo.WeiYiInfo.SellerInfo.evaluatesDataBean;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

@Getter
@Setter
public class TaoBaoGetDetailInfo implements Serializable{

	private static final long serialVersionUID = 7771506149676453986L;
	
	private String api;
	private String ret;
	private String v;
	private TDatabean data;
	
	@Getter
	@Setter
	public static class TDatabean implements Serializable{

		private static final long serialVersionUID = 8984303026360786250L;
		
		private TDatabeanItem item;
		private TDatabeanSeller seller;
		
		
	}
	
	@Getter
	@Setter
	public static class TDatabeanItem implements Serializable{
		/**
		 * 
		 */
		private static final long serialVersionUID = 5632280054265402873L;
		//商品ID
		private String itemId;
		//商品标题
		private String title;
		//商品小图
		private List<String> images;
		//分类
		private String categoryId;
		// "taobaoDescUrl": "http://h5.m.taobao.com/app/detail/desc.html?_isH5Des=true#!id=579134682267&type=0&f=TB1tC.CM9zqK1RjSZFH8qv3Cpla&sellerType=C",
		private String taobaoDescUrl;
		//"tmallDescUrl": "//mdetail.tmall.com/templates/pages/desc?id=579134682267"
		private String tmallDescUrl;
		//"taobaoPcDescUrl": "http://h5.m.taobao.com/app/detail/desc.html?_isH5Des=true#!id=579134682267&type=1&f=TB1EjDAyQvoK1RjSZFN8qwxMVla&sellerType=C"
		private String taobaoPcDescUrl;
		//"moduleDescUrl": "http://hws.m.taobao.com/d/modulet/v5/WItemMouldDesc.do?id=579134682267&f=TB1SFwwM3DqK1RjSZSy8quxEVla"
		private String moduleDescUrl;
		//"moduleDescParams": {"f": "i7/571/130/579134682267/TB1SFwwM3DqK1RjSZSy8quxEVla","id": "579134682267"}
		private TDatabeanItemModuleDescParams moduleDescParams;
		//"h5moduleDescUrl": "//mdetail.tmall.com/templates/pages/itemDesc?id=579134682267"
		private String h5moduleDescUrl;
		
	}
	
	@Getter
	@Setter
	public static class TDatabeanSeller implements Serializable{
		/**
		 * 
		 */
		private static final long serialVersionUID = 1999450789424041049L;
		//
		private String userId;
		//店铺ID
		private String shopId;
		//店铺名称
		private String shopName;
		//店铺Url
		private String shopUrl;
		//淘宝店的店铺Url
		private String taoShopUrl;
		//店铺头像
		private String shopIcon;
		//店铺粉丝数
		private String fans;
		//"allItemCount": "323",
		private String allItemCount;
		//"showShopLinkIcon": false,
		private String showShopLinkIcon;
		//"shopCard": "本店共323件宝贝在热卖",
		private String shopCard;
		//卖家类型：B-天猫商城， C-淘宝集市
		private String sellerType;
		//店铺类型：B-天猫商城， C-淘宝集市
		private String shopType;
		//店铺评分
		private List<evaluatesDataBean> evaluates;
		//卖家昵称
		private String sellerNick;
		//店铺等级
		private String creditLevel;
		//店铺小标
		private String creditLevelIcon;
		//店铺小标
		private String tagIcon;
		//开店时间
		private String starts;
		//店铺好评率
		private String goodRatePercentage;
		//"fbt2User": "平行线lj",
		private String fbt2User;
		//"simpleShopDOStatus": "1"
		private String simpleShopDOStatus;
	}
	
	@Getter
	@Setter
	public static class TDatabeanItemModuleDescParams implements Serializable{
		/**
		 * 
		 */
		private static final long serialVersionUID = -4622207046495728407L;
		private String f;
		private String id;
	}
}
